ElasticPress\Indexable\Post\Post D

Total Complexity 296
Dependencies 14
Dependents 1
Total lines 2,774
Lines of code 1,362
Logical lines of code 646
Comment lines 1,058
Methods 62
Properties 2

Methods 62

Method Rating Maintainability Complexity Lines of code
parse_tax_query()
B
36 17 87
prepare_document()
A
36 13 80
maybe_set_search_fields()
A
44 11 44
parse_meta_queries()
A
48 11 33
get_indexable_post_taxonomies()
A
53 10 21
parse_orderby()
A
45 8 43
parse_tax_queries()
A
52 9 24
get_distinct_meta_field_keys_db_per_post_type()
A
46 8 39
get_total_objects_for_query_from_db()
A
52 9 22
query_db()
A
43 7 51
filter_allowed_metas()
A
53 9 21
maybe_orderby()
A
48 8 33
get_mapping_name()
A
56 9 17
parse_post_status()
A
46 7 42
get_distinct_meta_field_keys_db()
A
45 7 42
determine_mapping_version_based_on_existing()
A
52 8 26
prepare_terms()
A
52 8 25
maybe_add_sticky_posts()
S
49 7 30
parse_post_mime_type()
S
51 7 29
adjust_query_fuzziness()
S
56 7 17
parse_author()
S
49 5 39
bulk_indexing_filter_posts_where()
S
52 6 22
apply_aggregations()
S
59 6 13
maybe_set_aggs()
S
58 5 15
parse_post_parent()
S
58 5 15
parse_from()
S
60 5 13
get_total_objects_for_query()
S
53 4 24
prepare_thumbnail()
S
53 4 23
maybe_set_fields()
S
55 4 22
get_term_order()
S
55 4 20
parse_post_type()
S
56 4 20
determine_mapping_version()
S
55 4 20
parse_date()
S
61 4 13
sanitize_wp_query_args()
S
53 3 26
get_lazy_post_type_ids()
S
53 3 22
parse_order()
S
64 4 10
get_parent_terms()
S
63 4 10
parse_filters()
S
50 2 29
prepare_meta()
S
61 3 12
prepare_date_terms()
S
52 2 23
format_args()
S
56 2 19
parse_size()
S
63 3 10
get_meta_keys_from_post_ids()
S
59 2 14
add_term_suggest_field()
S
59 2 14
parse_tag__not_in()
S
61 2 14
parse_post__not_in()
S
61 2 14
parse_post_name__in()
S
61 2 14
parse_post__in()
S
61 2 14
parse_post_parent__not_in()
S
61 2 14
parse_post_parent__in()
S
61 2 14
parse_category__not_in()
S
61 2 14
get_orderby_array()
S
71 2 6
get_formatted_term()
S
59 1 14
get_predicted_indexable_meta_keys()
S
59 1 14
get_indexable_meta_keys_per_post_type()
S
60 1 12
get_indexable_post_types()
S
71 1 5
get_indexable_post_status()
S
79 1 3
is_meta_allowed()
S
68 1 7
generate_mapping()
S
68 1 7
parse_tax_query_field()
S
67 1 8
get_search_algorithm()
S
68 1 6
__construct()
S
66 1 8